import os

desktop=os.environ['HOME']+"/Desktop/"

path=os.getcwd()

text=("""[Desktop Entry]
Version=0.0.6
Encoding=UTF-8
Name=Wataplayah
Type=Application
Comment=Stream Launcher
Path=%s
Exec=python GraphUserIntf.py
Icon=%s/WataPlayah.ico
MimeType=image/x-foo;
GenericName[pt]=Wataplayah""" % (path,path))

file(desktop+"Wataplayah.desktop",'w').write(text)
